/* eslint-disable no-console */
import { post, get } from "./http";
import baseUrl from './setBaseUrl'
// 接口

export const ImageAction =  baseUrl// 接口地址
export const LoginOpen = p => post('api/user/login', p); // 登录
export const GetListInfo = p => get('/api/case', p); // 列表
export const AddInfo = p => post('/api/case', p); // 新增
export const UpdatInfo = p => post('/api/case', p); // 新增
export const GetDetailInfo = p => get('/api/case/detail', p); // 查看详情

